package com.yunxin.core.infra.persistence.entity.merchant;

import java.io.Serializable;
import java.util.Date;

/**
 * 商户用户账号表
 *
 * @author zero°
 * @since   2023-06-06
 */
public class MerchantUserAccountDO implements Serializable {
    /**
     * 主键
     */
    private Long id;

    /**
     * 父账号id
     */
    private Long parentId;

    /**
     * 系统用户id
     */
    private Long sysUserId;

    /**
     * 账号名称
     */
    private String accountName;

    /**
     * 账号手机号
     */
    private String accountPhone;

    /**
     * 账号状态 0.禁用 1.正常
     */
    private Integer accountStatus;

    /**
     * 接单状态 0.关闭 1.开启
     */
    private Integer receivingStatus;

    /**
     * 备注
     */
    private String remark;

    /**
     * 商户id
     */
    private Long merchantId;

    /**
     * 标识删除，0：存在 1：删除
     */
    private Integer isDel;

    /**
     * 创建人
     */
    private String creator;

    /**
     * 修改人
     */
    private String editor;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date editTime;

    /**
     * 版本号
     */
    private Long version;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Long getSysUserId() {
        return sysUserId;
    }

    public void setSysUserId(Long sysUserId) {
        this.sysUserId = sysUserId;
    }

    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    public String getAccountPhone() {
        return accountPhone;
    }

    public void setAccountPhone(String accountPhone) {
        this.accountPhone = accountPhone;
    }

    public Integer getAccountStatus() {
        return accountStatus;
    }

    public void setAccountStatus(Integer accountStatus) {
        this.accountStatus = accountStatus;
    }

    public Integer getReceivingStatus() {
        return receivingStatus;
    }

    public void setReceivingStatus(Integer receivingStatus) {
        this.receivingStatus = receivingStatus;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Long getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Long merchantId) {
        this.merchantId = merchantId;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getEditor() {
        return editor;
    }

    public void setEditor(String editor) {
        this.editor = editor;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getEditTime() {
        return editTime;
    }

    public void setEditTime(Date editTime) {
        this.editTime = editTime;
    }

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }
}